package com.cy.ppj.model.vo.admin.order;

import com.cy.ppj.model.enums.CommissionStatus;
import com.cy.ppj.model.enums.OrderWithholdStatus;
import com.cy.ppj.model.enums.UserType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description: 后台代扣列表
 * @author: Ocean
 * @create: 2018-08-04 12:13
 **/
@Data
@ApiModel("后台代扣")
public class OrderWithholdAdminVO {

    @ApiModelProperty(value = "订单ID", example = "0")
    private Long orderId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "客户身份证号码")
    private String customerIdNo;

    @ApiModelProperty(value = "银行卡号")
    private String bankAccount;
    
    @ApiModelProperty(value = "银行名称")
    private String bankName;
    
    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "订单金额", example = "1000")
    private BigDecimal loanAmount;

    @ApiModelProperty(value = "代扣金额", example = "1000")
    private BigDecimal withholdAmount;

    @ApiModelProperty(value = "代扣点", example = "1.5")
    private BigDecimal withholdRate;

    @ApiModelProperty(value = "佣金发放状态")
    private CommissionStatus commissionStatus;

    @ApiModelProperty(value = "佣金点", example = "1.5")
    private BigDecimal commissionRate;

    @ApiModelProperty(value = "佣金金额", example = "200")
    private BigDecimal commissionAmount;

    @ApiModelProperty(value = "经纪人")
    private String broker;

    @ApiModelProperty(value = "订单时间")
    private Date orderTime;

    @ApiModelProperty(value = "代扣时间")
    private Date withholdTime;

    @ApiModelProperty(value = "订单代扣状态")
    private OrderWithholdStatus withholdStatus;
    
    @ApiModelProperty(value = "经纪人类型")
    private UserType userType;
    
    @ApiModelProperty(value = "佣金发放时间")
    private Date commissionTime;
}
